home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / sound / cmfved10.zip / VEDIT.DOC < prev    next >
Text File  |  1993-04-23  |  5KB  |  151 lines

  1.  
  2. CMF Voice Editor
  3.  
  4. Version 1.0
  5. by
  6. Colin Paterson
  7. mty015@cov.ac.uk
  8. April 1993
  9.  
  10. To run this program you require : EGA or VGA graphics, a mouse and a
  11. sound blaster card.
  12.  
  13.  
  14. Introduction
  15. ------------
  16.  
  17. This is my first attempt at PD programming and was prompted by the lack
  18. of free software for using the FM synthesis on my Sound Blaster card.
  19. This is very much an on going project on which I have grand plans,
  20. conquer the PC market and become a household name, that sort of thing.
  21. To this end I would be grateful if people would send me any comments and
  22. suggestions for version 2.0.
  23.  
  24. In particular I have been slowed by the lack of publication of file
  25. standards !! how can a file be standard if no one knows the format ? so
  26. if anyone knows the format of BNK or ROL files please let me know.
  27.  
  28. Thanks.
  29.  
  30.  
  31.  
  32. CMF files
  33. ---------
  34.  
  35. CMF stands for creative music file and is essentially a straight MIDI
  36. (musical instrument digital interface) file with a header containing
  37. sound blaster (ADLIB) instrument definitions. Although CMF music editors
  38. are fairly rare it is more than possible to create MID and ROL files
  39. and convert them into the CMF format.
  40.  
  41.  
  42. FM synthesis
  43. ------------
  44.  
  45. Each voice on the Sound Blaster uses two operators which are configured
  46. to create either FM or additive synthesis. During FM synthesis operator
  47. one is known as the phase modulator and determines the frequency of the
  48. sound, whilst operator two acts as an envelope thus shaping the sound.
  49. The resultant wave form may be feed back and in this wave very complex
  50. sounds created.
  51.  
  52. The envelope is split into four phases  Attack, Decay, Sustain and
  53. Release (ADSR). The best way to evaluate the effects is to try editing a
  54. sound envelope.
  55.  
  56.  
  57. |----------------------------|
  58. |                            |
  59. |       /\                   |
  60. |      /  \Decay             |
  61. |     /    \____________     |
  62. |    /        Sustain   \    |
  63. |   /                    \   | 
  64. |  /Attack                \  |
  65. | /                 Release\ |
  66. |/                          \|
  67. ------------------------------
  68.  
  69. During additive synthesis both operators produce a sine wave which are
  70. then added together. This form of synthesis is easier to understand,
  71. but does not produce complex sounds.
  72.  
  73.  
  74. The Editing panel
  75. -----------------
  76.  
  77. Once the program is loaded you will be greeted with a block diagram
  78. schematic of the operators and their interconnections (sorry I'm a
  79. control engineer). This is much easier to use than it looks see 
  80.  
  81. The entire program is mouse driven and the various boxes are activated
  82. by clicking in them with the mouse button. This either causes the value
  83. (or diagram) to change automatically or enables you to control the
  84. position of the controller with the mouse (Use it and you'll see what I
  85. mean).
  86.  
  87. KSR     Key Scale Rate, when this is on ( the box shows a tick) the
  88.     envelope is shortened as the notes pitch rises.
  89.  
  90. Hold     When on the sustain level is held until the note is
  91.     released, otherwise the sound begins to decay once the sustain 
  92.     level is reached.
  93.  
  94. Vib     Toggle switch for vibrato.
  95.  
  96. AM     Toggle Switch for amplitude modulation.
  97.  
  98. Harm     Takes a value of between 0 and 15 which determines the
  99.     frequency at which the note will be produced.
  100.  
  101. To edit the ADSR envelope click the mouse button in one of the four
  102. small boxes on the envelope vertices and then move the mouse. Click the
  103. mouse button once more when the envelope is the desired shape.
  104.  
  105. The L.P (Low Pass) filter has four positions, each providing more
  106. attenuation at high frequencies.
  107.  
  108. The three sliders work in much the same way as the ADSR envelope
  109. shaping, click the mouse in the slider box, move to the desired position
  110. and click to release.
  111.  
  112. The final sound editing box is the switch after the first operator, and
  113. places the system in either additive or FM synthesis mode.
  114.  
  115. If you don't understand any of these options then just load up a CMF
  116. file and play with the voices.
  117.  
  118. The editing screen also offers a number of menu options
  119.  
  120. Exit     Leave the program 
  121.  
  122. Play     Output the current sound to the sound blaster until a key is
  123.     pressed on the keyboard.
  124.  
  125. Next     Edit the next instrument in the CMF file 
  126.  
  127. Prev     Edit the previous instrument in the CMF file 
  128.  
  129. Save     Save the current voice back to the CMF file 
  130.  
  131.  
  132. Using the program
  133. -----------------
  134.  
  135. To start the program you must give the name of the CMF file you wish to
  136. work with,
  137.  
  138.      vedit file.cmf
  139.  
  140. you will then be presented with a title screen, press any key
  141. to proceed to the voice editing panel. I suggest you make a backup of
  142. the CMF file before you edit it as you may not like the results of your
  143. edits. After exiting the program use the PlayCMF file distributed by
  144. Creative software to check your results.
  145.  
  146.  
  147. Have fun.
  148.  
  149. Colin
  150.  
  151.